<script type="text/html" id="{$self->field}">
    <div style="text-align: center;">
        <i class="layui-icon  {{ d.{$self->field} }}"></i>
    </div>
</script>